package com.code.leetcode.offer;

/**
 * @author codeDorado
 * @version 1.0
 * @date 2020/7/31 14:58
 */
public class The17 {
    public int[] printNumbers(int n) {
        int x = 0;
        for (int i = 0; i < n; i++) {
            x = x * 10 + 9;
        }
        int[] rnts = new int[x];
        for (int i = 0; i < x; i++) {
            rnts[i] = i + 1;
        }
        return rnts;
    }
}
